package de.baumann.browser.api.net

import de.baumann.browser.BuildConfig
import de.baumann.browser.api.net.base.BaseUrl
import de.baumann.browser.api.net.vo.Result
import de.baumann.browser.api.net.vo.gg.Morgage
import io.reactivex.Observable
import retrofit2.http.Field
import retrofit2.http.FormUrlEncoded
import retrofit2.http.POST

@BaseUrl(BuildConfig.FUCK_GG_API)
interface FuckGGApiService {
    @FormUrlEncoded
    @POST("gungnir/record/airdrop")
    fun airdropRecord(@Field("address")address:String, @Field("coinType")coinType:String): Observable<Result<List<Morgage>>>
}